import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// import hljs from 'highlight.js';
import 'highlight.js/styles/googlecode.css' //样式文件
import '@/assets/global.css' //样式文件

// Vue.directive('highlight',function (el) {
//   let blocks = el.querySelectorAll('pre code');
//   setTimeout(() =>{
//       blocks.forEach((block)=>{
//         hljs.highlightBlock(block)
//       })
//   }, 1700)
// })


Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
